package com.qf.zhijia.mapper;

import com.qf.zhijia.pojo.Product;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author 岳鹏
 * @Date 2020/9/9
 * 查询数据库所有商品
 */
@Component
public interface FunSeacherMapper {

    @Select("select * from product")
    List<Product> selectAll();
}
